<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" ng-controller="appCtrl" data-ng-init="initSecurity(true);getNowFormatDate();">
<head>
<title>贵州茂兰国家级自然保护区电子办公系统</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="style/sy_skin.css"/>
<link rel="stylesheet" type="text/css" href="style/sy_common.css"/>

 <link rel="stylesheet" type="text/css"
          href="http://localhost/web-base/jquery-easyui/v1.5.2/themes/bootstrap/easyui.css">

<!--<script type="text/javascript" src="script/jquery-1.7.2.min.js"></script>
<script type="text/javascript" src="script/jquery.easing.1.3.js"></script>
<script type="text/javascript" src="script/jquery.itab.js"></script>
<script type="text/javascript" src="script/core.js"></script>-->

<script type="text/javascript" src="http://localhost/web-base/jquery/v1.7.2/jquery.min.js"></script>
<script type="text/javascript" src="http://localhost/web-base/jquery-cookie/v1.4.1/jquery.cookie.js"></script>
<script type="text/javascript" src="http://localhost/web-base/jquery-easyui/v1.5.2/jquery.easyui.min.js"></script>
<script type="text/javascript"
        src="http://localhost/web-base/jquery-easyui/v1.5.2/locale/easyui-lang-zh_CN.js"></script>

<script type="text/javascript" src="script/jquery.tipTip.js"></script>
<script type="text/javascript" src="script/jquery.ibox.3.0.js"></script>
<script type="text/javascript" src="script/jquery.itabExtend.js"></script>
<script type="text/javascript" src="script/jquery.itab.js"></script>
<script type="text/javascript" src="script/zs.layout.js"></script>
<script type="text/javascript" src="script/zs.core.js"></script>
<style>
	/*分页*/
.zs-pagination {
	font-size: 12px;
	padding: 10px 0 20px 0;
	user-select: none;
	text-align: center;
}

.zs-pagination:after {
	display: block;
	visibility: hidden;
	clear: both;
	overflow: hidden;
	height: 0;
	content: ' ';
}

.zs-pagination .item {
	font-family: Arial;
	line-height: 28px;
	display: inline-block;
	width: 58px;
	height: 28px;
	margin-right: 8px;
	list-style: none;
	cursor: pointer;
	text-align: center;
	border: 1px solid #d9d9d9;
	border-radius: 6px;
}

.zs-pagination .item a {
	margin: 0 6px;
	transition: none;
	text-decoration: none;
	color: #666;
}

.zs-pagination .item:hover {
	transition: all .3s ease;
	border-color: #4bbe51;
}

.zs-pagination .item:hover a {
	color: #4bbe51;
}

.zs-pagination .item.active {
	border-color: #4bbe51;
	background-color: #4bbe51;
}

.zs-pagination .item.active a,
.zs-pagination .item.active:hover a {
	color: #fff;
}

.zs-pagination .jump-next {
	line-height: 28px;
	display: inline-block;
	min-width: 28px;
	height: 28px;
	margin-right: 8px;
	cursor: pointer;
	text-align: center;
}

.zs-pagination .prev {
	margin-right: 8px;
}

.zs-pagination .prev,
/* 上一页 */
.zs-pagination .next/* 下一页 */ {
	font-family: Arial;
	line-height: 28px;
	display: inline-block;
	display: inline-block;
	min-width: 28px;
	height: 28px;
	list-style: none;
	cursor: pointer;
	text-align: center;
	color: #666;
	border: 1px solid #d9d9d9;
	border-radius: 6px;
}

.zs-pagination .prev a,
.zs-pagination .next a {
	color: #666;
}

.zs-pagination .prev:hover,
.zs-pagination .next:hover {
	border-color: #4bbe51;
}

.zs-pagination .prev:hover a,
.zs-pagination .next:hover a {
	color: #4bbe51;
}

.zs-pagination .prev a {
	display: inline-block;
	width: 5px;
	height: 9px;
	margin-top: -.5px;
	background: url(../images/pagination-prev.png);
}

.zs-pagination .next a {
	display: inline-block;
	width: 5px;
	height: 9px;
	background: url(../images/pagination-next.png);
}

.zs-pagination .options {
	display: inline-block;
	margin-left: 15px;
	vertical-align: -9px;
}

.zs-pagination .options .quick-jumper {
	line-height: 28px;
	float: left;
	height: 28px;
}

.zs-pagination .options .quick-jumper input {
	font-size: 12px;
	line-height: 1.5;
	line-height: 28px;
	position: relative;
	display: inline-block;
	width: 100%;
	width: 50px;
	height: 28px;
	margin: 0 8px;
	cursor: text;
	text-align: center;
	color: #666;
	border: 1px solid #d9d9d9;
	border-radius: 6px;
	background-image: none;
}

.zs-pagination .options .quick-jumper input::-moz-placeholder {
	opacity: 1;
	color: #ccc;
}

.zs-pagination .options .quick-jumper input:-ms-input-placeholder {
	color: #ccc;
}

.zs-pagination .options .quick-jumper input::-webkit-input-placeholder {
	color: #ccc;
}

.zs-pagination .options .quick-jumper input:hover {
	border-color: #4bbe51;
}

.zs-pagination .options .quick-jumper input:focus {
	border-color: #4bbe51;
	outline: 0;
	box-shadow: 0 0 0 2px #d5f1fd;
}

.zs-pagination .options .quick-jumper input[disabled], {
	cursor: not-allowed;
	opacity: 1;
	color: #ccc;
	background-color: #f4f4f4;
}

.zs-pagination .options .quick-jumper input[disabled]:hover, {
	border-color: #e1e1e1;
}
</style>
</head>
<body>
<!--页眉-->

<div class="fore-oa-head-contain">
    <div class="fore-oa-head"> 
        <!--用户信息-->
        <div class="fore-oa-user">
            <div class="fore-oa-user-txt">欢迎登录贵州茂兰国家级自然保护区电子办公系统</div>
            <div class="fore-oa-user-btn"><a href="javascript:void(0)" class="fore-oa-user-infor" title="用户信息"></a>
            	<a ng-click="loginOut()" class="fore-oa-user-exit" title="退出登录"></a></div>
            <div class="clear"></div>
        </div>
    </div>
</div>
<!--导航-->
<div class="fore-oa-menu-contain">
    <div class="fore-oa-menu">
        <ul>
            <li><a ng-if="mi.sa || mi.sy" href="sy.html" class="on">首页</a></li>
            <li><a ng-if="mi.sa || mi.rwgl" href="main.html?page=gztask&menu=rwgl">任务管理</a></li>
            <li><a ng-if="mi.sa || mi.xzgl" href="main.html?page=gzreceivefile&menu=zhgl">行政管理</a> </li>
            <li><a ng-if="mi.sa || mi.xmgl" href="main.html?page=gzprojectinfo_query&menu=xmgl">项目管理</a> </li>
            <li><a ng-if="mi.sa || mi.gdzc" href="main.html?page=gzdevice&menu=gdzc">固定资产</a></li>
            <li><a ng-if="mi.sa || mi.rsgl" href="main.html?page=gzqdgl&menu=rsgl">人事管理</a></li> 
            <li class="end"><a ng-if="mi.sa || mi.xtgl" href="main.html?page=security_user&menu=ywgl">系统管理</a> </li>
            <!--<li><a href="javascript:void(0)">综合管理</a> </li>
            <li><a href="javascript:void(0)">工作流</a> </li>
            <li><a href="javascript:void(0)">重点督查</a> </li>
            <li class="end"><a href="javascript:void(0)">系统管理</a></li>-->
        </ul>
    </div>
</div>
<!-- <div style="position: absolute;margin-right: 10px;float:left;"><a href="#"><img src="images/appdownload.png" width="60%"/></a></div> -->
<!--页面主体-->
<div class="fore-oa-page"> 
	
    <!--左侧栏-->
    <div class="fore-oa-item-230"> 
        <!--通知公告-->
        <div class="fore-oa-item-list" style="height: 313px;"> 
            <!--模块名称-->
            <div class="fore-oa-item-title">
                <h2>通知公告</h2>
                <a ng-click="openNewsList('notice');" ></a></div>
            <!--模块内容-->
            <div class="fore-oa-item-content" data-ng-init="formInit('cms_document_notice', {
            	ssn:'cms_document',
				esn:'cms_document',
		        keyField:'id',
		        randomFields:['id'],
		        queryObject:{column:'NOTICE'},
		        pageSize:5,
		        orderObject:{id:0}
		    }) && loadData('cms_document_notice');">
                <ul class="fore-oa-list">
                	<li ng-repeat="r in cms_document_notice.datas">
	                	<a ng-click="openNewsShow(r);">
	                		<label ng-bind="r.title"></label>
	                	</a>
                	</li>
                </ul>
            </div>
        </div>
        <!--例会纪要-->
        <div class="fore-oa-item-list" style="height: 313px;"> 
            <!--模块名称-->
            <div class="fore-oa-item-title">
                <h2>政策法规</h2>
                <a ng-click="openNewsList('news');"></a></div>
            <!--模块内容-->
            <div class="fore-oa-item-content" data-ng-init="formInit('cms_document', {
            	ssn:'cms_document',
				esn:'cms_document',
		        keyField:'id',
		        randomFields:['id'],
		        queryObject:{column:'NEWS'},
		        pageSize:5,
		        orderObject:{id:0}
		    }) && loadData('cms_document');">
                <ul class="fore-oa-list">
                	<li ng-repeat="r in cms_document.datas">
	                	<a ng-click="openNewsShow(r);">
	                		<label ng-bind="r.title"></label>
	                	</a>
                	</li>
                </ul>
            </div>
        </div>
    </div>
    <!--中间侧栏-->
    <div class="fore-oa-item-550"> 
        <!--待办事宜-->
        <div class="fore-oa-item-tab" data-ng-init="
				formInit('worklist', {
					keyField:'actid',
					pageSize:9,
					orderObject:{fromtime:1},
					randomFields:['actid']
				}) && formInit('overworklist', {
					keyField:'actid',
					pageSize:9,
					orderObject:{fromtime:1},
					randomFields:['actid']
				})  && loadData('worklist');loadData('overworklist');" style="height: 360px;"> 
            <!--模块名称-->
            <div class="fore-oa-item-tab-title idTabs">
            	<span><a ng-click="setTab('rcbg', 'db');" ng-class="{selected:tabs['rcbg'].tabClass['db']}">待办事宜
            	<font color="red">(<label ng-bind="worklist.rowsCount"></label>)</font>
            </a></span> 
            
            <span><a ng-click="setTab('rcbg', 'yb');" ng-class="{selected:tabs['rcbg'].tabClass['yb']}">已办事宜
            	<font color="red">(<label ng-bind="overworklist.rowsCount"></label>)</font>
            </a></span> 
            
            
            </div>
            <!--模块内容-->
            <div class="fore-oa-item-content" data-ng-init="iniTab('rcbg', 'db', 'selected');" ng-show="tabs['rcbg'].tabClass['db']">
                <ul class="fore-oa-list" id="dbsy">
                <li ng-repeat="r in worklist.datas">
                		<a ng-click="toQueryWork(r.prjurl,r.actdefid,r.prjforname,r.prjpopname,r.sbussinessid);"><span class="t">
                		<label ng-bind="r.taskdefname"></label>
               			(<label ng-bind="r.actdefname"></label>)
               			</span>
                		<label style="{{r.sread | todoReadFilter:r.sread}}" ng-bind="r.sbusiness"></label></a></li>
                </ul>
            </div>
               
            <ag-Page fn='worklist' ng-show="tabs['rcbg'].tabClass['db']"></ag-Page>
            
            <!--已办理事宜-->
            <div class="fore-oa-item-content"  ng-show="tabs['rcbg'].tabClass['yb']">
                <ul class="fore-oa-list" id="ybsy">
                <li ng-repeat="r in overworklist.datas">
                		<a ng-click="toQueryWork(r.prjurl,r.actdefid,r.prjforname,r.prjpopname,r.sbussinessid);"><span class="t">
                		<label ng-bind="r.taskdefname"></label>
               			(<label ng-bind="r.actdefname"></label>)
               			</span>
                		<label ng-bind="r.sbusiness"></label></a></li>
                </ul>
            </div>
            
            <!--已办理事宜-->
            <ag-Page fn='overworklist' ng-show="tabs['rcbg'].tabClass['yb']"></ag-Page>
               
        </div>
        <!--工作动态-->
        <div class="fore-oa-item-tab" data-ng-init="formInit('gztaskview', {
		        keyField:'id',
		        randomFields:['id'],
		         pageSize:6,
		        orderObject:{cjsj:1},
		        queryObject:{'zt:!=':'rwzt_ywc'}
		    }) && loadData('gztaskview');
		    formInit('gzreceiveview', {
        keyField:'id',
        randomFields:['id'],
        orderObject:{jjdj:1,cjsj:1},
         pageSize:6,
        queryObject:{sfqr:'0'}
    }) && loadData('gzreceiveview');" style="height: 260px;"> 
            <!--模块名称-->
            <div class="fore-oa-item-tab-title" data-ng-init="iniTab('bzap', 'rcap', 'selected');" >
            	<span><a ng-click="setTab('bzap', 'rcap');" ng-class="{selected:tabs['bzap'].tabClass['rcap']}">日程安排
            	<font color="red">(<label ng-bind="gztaskview.rowsCount"></label>)</font>
            	</a></span>
            	<span><a ng-click="setTab('bzap', 'sw');" ng-class="{selected:tabs['bzap'].tabClass['sw']}">收文
            	<font color="red">(<label ng-bind="gzreceiveview.rowsCount"></label>)</font></a></span>
            	
            	<i class="more" ng-if="tabs['bzap'].tabClass['rcap']"><a href="main.html?page=gztask&menu=rwgl"></a></i>
            	
            	<i class="more" ng-if="tabs['bzap'].tabClass['sw']"><a href="main.html?page=gzreceivefile&menu=zhgl"></a></i></div>
            	
            	
            <!--模块内容-->
            <div class="fore-oa-item-content">
                <ul class="fore-oa-list">
                	<!--日常安排开始-->
                	<li ng-repeat="r in gztaskview.datas" ng-show="tabs['bzap'].tabClass['rcap']">
                		<a ng-click="openDataWindow('main.html?page=gztask&menu=rwgl',r.id);"><span class="t"> 
                			<label ng-bind="r.cjsj | asDate | date:'yyyy-MM-dd'"></label></span> 
                			<label ng-bind="r.xmmc"></label></a>
                	</li>
                	<!--日常安排结束-->
                	
                	<!--项目收文详情-->
                	<li ng-repeat="r in gzreceiveview.datas" ng-show="tabs['bzap'].tabClass['sw']">
                		<a ng-click="readReceive('gzreceiveview', r);">
                			<span class="t" ng-show="r.jjdjName!=null"> (<label ng-bind="r.jjdjName"></label>) </span> 
                			<span ><label ng-bind="r.fwzt"></label></span></a>
                	</li>
                	<!--项目收文详情结束-->
                </ul>
            </div>
            <!--日程安排-->
             <ag-Page fn='gztaskview' ng-show="tabs['bzap'].tabClass['rcap']"></ag-Page>
             
             <!--收文-->
             <ag-Page fn='gzreceiveview' ng-show="tabs['bzap'].tabClass['sw']"></ag-Page>
        </div>
    </div>
    <!--右侧栏-->
    <div class="fore-oa-item-190"> 
        <!--登录信息-->
        <div class="fore-oa-user-wel">
            <h2>登录信息</h2>
            <p>当前用户：<strong><label ng-bind ="curUser.userName"></label></strong><br/>
                <label ng-bind="currentdate"></label> 
                <label ng-bind="myddy"></label> <br />
                       <!--     农历闰月九月十八日<br />-->
                <label ng-bind="currentTime"></label></p>
        </div>
        <div class="fore-oa-sys-link">
            <div class="fore-oa-sys-link-list"><a ng-click="openDowloadList()"><img src="images/fore-oa-link-xz.png" width="100%"/></a></div>
            <div class="fore-oa-sys-link-list"><a href="#"><img src="images/fore-oa-link-dj.png" width="100%"/></a></div>
            <!-- <div class="fore-oa-sys-link-list"><a ng-click="syqdgldata('create','signback')"><img src="images/fore-oa-q-bg.png" width="100%"/></a></div>
			<div class="fore-oa-sys-link-list"><a ng-click="syqdgldata('create','signin')"><img src="images/fore-oa-q-bg.png" width="100%"/></a></div> -->
        </div>
    </div>
    <!--清除浮动-->
    <div class="clear"></div>
</div>
<!--页脚-->
<div class="fore-oa-foot"> 
    主办单位： 贵州茂兰国家级自然保护区管理局 版权所有<br />
    地址：贵州省荔波县玉屏镇樟江北路42号  电话：0854-3610675，3611845  邮编：558400<br />
    技术支持：北京天恒昕业科技发展有限公司
 </div>
<!-- 基础参数初始化 -->
<script type="text/javascript" src="init.js"></script>

<!-- 业务代码初始化 -->
<script src="http://localhost/web-base/require/v2.3.3/require.min.js" data-main="main.js"></script>
</body>
</html>
